<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head th:replace="~{fragments/header :: header}">
</head>
<body>

    <div class="container">
        <div class="row">
            <div class="col-lg-8 offset-lg-2 col-md-10 offset-md-1">
                <div class="post-preview" th:each="blog : ${model.blogs} ">
                    <a th:href="@{/blog?blogid={blogid}(blogid=${blog.id})}">
                        <h2 class="post-title" th:text="${blog.title}">
                            
                        </h2>
                        <h3 class="post-subtitle" th:text="${blog.summary}">                            
                        </h3>
                    </a>
                    <p class="post-meta">Posted by <a href="#">YuH4ng</a> on <span th:text="${blog.createTime}"></span></span></p>
                </div>
                <hr>
                <!-- Pager -->
                <div class="clearfix">
                    <a class="btn btn-secondary float-right" href="#">Older Posts &rarr;</a>
                </div>
            </div>
        </div>
    </div>
    <hr>
<div th:replace="~{fragments/footer :: footer}">...</div>
</body>
</html>